package com.car.loan.project.xr.util.bo.business;

import com.google.common.collect.Lists;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author huangding
 * @description 用户数据
 * @date 2019/11/4 20:33
 */
@Data
public class CustomerAddBo {

    @ApiModelProperty(value = "客户基本信息", required = true)
    @NotNull
    private CustomerInfoAddBo customerInfo;

    @ApiModelProperty(value = "客户紧急联系人信息，目前最多2个")
    private List<CustomerContactAddBo> customerContacts = Lists.newArrayList();

    @ApiModelProperty("客户配偶信息")
    private CustomerSpouseAddBo customerSpouse;

    @ApiModelProperty("客户担保人信息")
    private List<CustomerGuarantorAddBo> customerGuarantors = Lists.newArrayList();
}
